package com.itheima.test;


import com.itheima.d2_reflect.Cat;
import com.itheima.d2_reflect.Test1Class;
import org.junit.Test;

//针对反射技术中的Class进行测试
public class ReflectClassTest1 {
    private  Test1Class test1Class = new Test1Class();


    @Test
    public void testMethod1(){

        test1Class.method1();
    }

    @Test
    public void testMethod2(){
        test1Class.method2(new Cat());
    }

    @Test
    public void testMethod3(){
//        test1Class.method3();
    }
}
